using System;
using System.Windows;

namespace Tryit.Views
{
    public partial class TemplateManagementView : Window
    {
        public TemplateManagementView()
        {
            try
            {
                InitializeComponent();
            }
            catch (Exception ex)
            {
                MessageBox.Show($"初始化模板管理窗口失败：{ex.Message}", "错误", MessageBoxButton.OK, MessageBoxImage.Error);
                Close();
            }
        }

        private void CloseButton_Click(object sender, RoutedEventArgs e)
        {
            Close();
        }
    }
} 